A domain is something which replaces an IP address which is more user friendly. For an example, in a web browser you probably type something along the lines of "atomichost.xyz", This here is a domain. This domain then goes through a server, which then translates it to the servers IP Address, because the IP Address shows the content of our website, this is also displayed on the domain.
So a domain is a user friendly way to navigate through places across the internet, instead of memorising an IP Address. e.g. 192.168.0.1
A DNS Record (Domain Name Server Record) is a way to tell the service you are getting your domain from, what IP address that domain will link to. you have many records like, A, AAAA, SRV, TXT, CNAME and many more, but we will be focusing on A, AAAA and SRV Records
Domain | IPv4 |
---|---|
YourDomain.com | xxx . xxx . xxx . xxx |
A domain links with an IP
Domain | IPv6 |
---|---|
YourDomain.com | xxxx : xxxx : xxxx : xxxx : xxxx : xxxx : xxxx |
A domain links with an IPv6 address
Domain | IPv4 | Port |
---|---|---|
YourDomain.com | xxx . xxx . xxx . xxx | 2555 |
A domain linking with an IP address using a specific port.